package cn.lg.soar.system.api.model;

import cn.lg.soar.system.api.enums.AccessModeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

/**
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Getter
@Setter
public class FastUploadVO {

    @NotNull(message = "文件大小不能为空")
    @Schema(description = "文件大小")
    private Long fileSize;

    @NotBlank(message = "文件摘要(MD5)不能为空")
    @Schema(description = "文件摘要(md5 或 其他信息摘要算法值)")
    private String digest;

    @Schema(description = "访问模式")
    private AccessModeEnum accessMode;

}
